Component({
    externalClasses: [ "i-class" ],
    properties: {
        data: {
            type: Array,
            value: []
        },
        positionCls: {
            type: String,
            value: "left"
        },
        color: {
            type: String,
            value: "#2d8cf0"
        }
    },
    attached: function() {},
    methods: {
        handleChange: function(t) {
            var a = t.detail.value;
            for (var e in this.data.data) this.data.data[e].value == a ? this.data.data[e].checked = !0 : this.data.data[e].checked = !1;
            this.setData({
                data: this.data.data
            }), this.triggerEvent && this.triggerEvent("change", t.detail), this.props && this.props.onChange && this.props.onChange(t);
        }
    }
});